<!-- 插件后台分类管理 -->
<style>
.container .floattop{padding-bottom: 0;}
	.none { display: none;}
	.quanxuan { margin-right: 8px; }
	.rq { color: #f00; display: block;width: 100px; margin: 5px 10px; }
	#cpform { margin-top: 0; }
	#cpform .txt { width: 60px; }
	#cpform thead { background: #eee;}
	#cpform th { text-align: center; border-right: 1px solid #ddd;font-weight: 400;}
	#cpform td { border-right: 1px solid #ddd; }
	.top { margin-bottom: 0; padding-bottom: 0; }
	.top a { text-decoration: none;display: inline-block; margin: 0; background:#03a9f4;padding: 10px;font-weight: 400; color: #fff;border-right: 1px solid #fff;}
	.top .a, .top a:hover {background: #009688;color: #fff; }
</style>
<div id="nofugai">&nbsp;</div>
<h3 id="jameson_read_fx" class="top">
	<a href="{ADMINSCRIPT}?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=mfenxiang&act=index" class="{if !isset($_GET['fx'])}a{/if}">{lang jameson_read:anyonghuchakan}</a><a href="{ADMINSCRIPT}?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=mfenxiang&act=index&fx=1" class="{if $_GET['fx']==1 &&!isset($_GET['fxuid'])}a{/if}">{lang jameson_read:anzhangjiechakan}</a>{if $_GET['fx']==1 && $_GET['fxuid']}<a class="a">[{$username}]{lang jameson_read:fenxiangzhangjie}</a>{/if}
</h3>
<table class="tb tb2" id="cpform">

	<thead>
		<tr class="">
			<th class="td21">{lang jameson_read:xuhao}</th>
			<th>{if !isset($_GET['fx'])}{lang jameson_read:yonghu}{else}{lang jameson_read:fenxiangzhangjie}{/if}</th>
			<th>{lang jameson_read:xiyindeyonghushu}</th>
			<th>{lang jameson_read:jianglizonge}/{$_G['jameson_read']['fxtrametitle']}</th>
		</tr>
	</thead>
	<tbody>
	{if $fenxiangs}
	{loop $fenxiangs $key $sp}
		<tr class="hover threadopt">
			<td >{eval echo ++$key;}</td>
			<td>{if !isset($_GET['fx'])}<a title="{lang jameson_read:dianjichakanyonghu}" href="{ADMINSCRIPT}?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=mfenxiang&act=index&fx=1&fxuid={$sp['fxuid']}">{$sp['username']}</a>{else}<a target="_blank" href="./forum.php?mod=viewthread&tid={$sp['tid']}">{$sp['book_name']}--&gt;{$sp['subject']}{/if}</a></td>
			<td>{$sp['usernums']}</td>
			<td>{$sp['jianglinums']}</td>
		</tr>
	{/loop}
		<tr>
			<td colspan="4"><a href="javascript:;" class="rq" onclick="jamesonread_clear(this);">{lang jameson_read:yijianqingchu}</a></td>
		</tr>
	{else}
		<tr>
			<td colspan="4"><div class="center">{lang jameson_read:zanwufenxiang}</div></td>
		</tr>
	{/if}
	</tbody>
</table>
<div class="margintop marginbot cl y">{$pageshow}</div>
<script type="text/javascript">
	function jamesonread_clear(em){
		if(confirm('{lang jameson_read:querenshanchubukehuifu}')){
			location.href = '{ADMINSCRIPT}?action=plugins&operation=config&do={$_GET["do"]}&identifier=jameson_read&pmod=jameson_read&contrl=mfenxiang&act=delall&formhash={FORMHASH}';
		}else{
			return false;
		}
	}
</script>
<script type="text/javascript" src="./source/plugin/jameson_read/template/adm.js"></script>